namespace KingerRobot.MexicoSailunMDC.Dao;
partial class Db : K8.EF.DbContext
{
    /// <summary>
    /// ——编号值
    /// </summary>
    public DbSet<POSysCodeValue> SysCodeValues { get; set; }
}

/// <summary>
/// ——编号值
/// 表[sys_code_value]
/// </summary>
[Table("sys_code_value")]
public class POSysCodeValue
{
    /// <summary>
    /// 主键，通过雪花算法生成
    /// 主键[sys_code_value.objid)]
    /// </summary>
    [Key]
    [Column("objid")]
    public long? Id { get; set; }
    /// <summary>
    /// 规格Id
    /// [sys_code_value.code_id)]
    /// </summary>
    [Column("code_id")]
    public long? CodeId { get; set; }
    /// <summary>
    /// 序列号
    /// [sys_code_value.sequence_value)]
    /// </summary>
    [Column("sequence_value")]
    public long? SequenceValue { get; set; }
    /// <summary>
    /// 步进值
    /// [sys_code_value.step_value)]
    /// </summary>
    [Column("step_value")]
    public string StepValue { get; set; }
    /// <summary>
    /// 上次值
    /// [sys_code_value.last_code)]
    /// </summary>
    [Column("last_code")]
    public string LastCode { get; set; }
    /// <summary>
    /// 说明
    /// [sys_code_value.remark)]
    /// </summary>
    [Column("remark")]
    public string Remark { get; set; }
    /// <summary>
    /// 创建时间
    /// [sys_code_value.create_time)]
    /// </summary>
    [Column("create_time")]
    public DateTime? CreateTime { get; set; }
    /// <summary>
    /// 更新时间
    /// [sys_code_value.update_time)]
    /// </summary>
    [Column("update_time")]
    public DateTime? UpdateTime { get; set; }
    /// <summary>
    /// 是否可用 0:不可用  1:在用
    /// [sys_code_value.use_flag)]
    /// </summary>
    [Column("use_flag")]
    public int? UseFlag { get; set; }
}
